package com.ct.application.shipping.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ct.application.commons.vo.StatusRequest;
import com.ct.application.shipping.model.po.ChuanYuanKuGongZuoSavePO;
import com.ct.application.shipping.model.po.ChuanYuanKuGongZuoSearchPO;
import com.ct.application.shipping.model.vo.ChuanYuanKuGongZuoVO;
import com.ct.repository.commons.IBaseService;
import com.ct.shipping.orm.ChuanYuanKuGongZuoDO;

/**
 * <p>
 * 船员库工作经验 服务类
 * </p>
 *
 * @author carlo
 */
public interface ChuanYuanKuGongZuoService extends IBaseService<ChuanYuanKuGongZuoDO> {
    Page<ChuanYuanKuGongZuoVO> findChuanYuanKuGongZuo(ChuanYuanKuGongZuoSearchPO searchPO);

    ChuanYuanKuGongZuoVO saveChuanYuanKuGongZuo(ChuanYuanKuGongZuoSavePO savePO);

    ChuanYuanKuGongZuoDO findLastChuanYuanKuGongZuo();

    ChuanYuanKuGongZuoVO getChuanYuanKuGongZuo(Long id);

    ChuanYuanKuGongZuoVO updateChuanYuanKuGongZuo(ChuanYuanKuGongZuoSavePO savePO);

    boolean delChuanYuanKuGongZuo(Long id);

    boolean updateStatus(StatusRequest statusRequest);
}
